package net.niufei.busi;

public enum BusiType{
  Byte(			1, "byte"),
  Short(		2, "short"),
  Int(			4, "int"),
  SLong(		6, "slong"),
  Long(			8, "long"),
  String(		0, "string"),
  ByteArray(	0, "bytearr");
  
  
  private int length;
  private String desc;
  
  BusiType(int length, String desc) {
    this.length = length;
    this.desc = desc;
  }
  
  public int length() {
    return length;
  }
  
  public String description() {
    return desc;
  }
}
